home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Utilities / Programming / Script Builder 1.0 / Helper Source / AAREADME -Scripting Objects next >
Encoding:
Text File  |  1995-12-12  |  1.5 KB  |  35 lines  |  [TEXT/CWIE]

  1. The Scripting Objects
  2.  
  3. This file attempts to describe the point of these files.  Note that it was
  4. written before any code was written -- so it may not reflect reality.  .h
  5. files are the way to go!
  6.  
  7. Most of this is taken from 18 & 19, with some minor modifications.
  8.  
  9. GOSAScriptComponent
  10.     - The guy makes a connection to a scripting component, like Apple Script
  11.         or tcl.  Most applications need only one of these.  The default
  12.         constructor will open apple script.  Args to other constuctors can
  13.         be added to do other components.  Will throw an exception in the
  14.         constructor if the component can't be opened.
  15.     - Its main use is as input to other objects that need to be attached to
  16.         a scripting component.
  17.     - When the  object is destroyed, the connection to the scripting component
  18.         is lost.  You shouldn't have any of the other components that use this
  19.         guy as an argument around at this point!
  20.  
  21. GOSAID
  22.     - Simple guy to keep track of an OSA ID -- that thing by which we access
  23.         errors, scripts, etc. etc.
  24.     - Constructor takes a OSAScriptContext, and perhaps a osaid dude.
  25.     - destructor can delete the item from the script context it was created
  26.         in, if requested (use a "settor" function).
  27.     - Includes code to return a AEDesc if requested.
  28.     - Be cool if this could be a subclass of AEDesc (but I don't see how to
  29.         automat access to the aedesc guy without keeping duplicate data.
  30.  
  31. GOSAScript
  32.     - Subclass of GOSAID
  33.     - Supports running.
  34.     - Can load and run scripts from files, delete them, etc. etc.
  35.